package cn.demographic.service.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.demographic.dao.IndustryMapper;
import cn.demographic.dao.InsuredMapper;
import cn.demographic.dao.SkillMapper;
import cn.demographic.dao.TitleMapper;
import cn.demographic.dao.Utit_typeMapper;
import cn.demographic.service.EmploymentService;
@Service
public class EmploymentServiceImpl implements EmploymentService {
	
	@Autowired
	private Utit_typeMapper utittypeMapper;
	
	@Autowired
	private InsuredMapper insuredMapper;
	
	@Autowired
	private IndustryMapper industryMapper;
	
	@Autowired
	private TitleMapper titleMapper;
	
	@Autowired
	private SkillMapper skillMapper;
	
	@Override
	public Map<String, Object> find() {
		Map<String, Object> map = new HashMap<String,Object>();
		map.put("Utit_type", utittypeMapper.find());
		map.put("Insured", insuredMapper.find());
		map.put("Industry", industryMapper.find());
		map.put("Title", titleMapper.find());
		map.put("Skill", skillMapper.find());
		return map;
	}

}
